/*******************************************************************************
 * Copyright (c) 2007 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.pde.internal.core.iproduct;

import java.io.PrintWriter;

/**
 *
 */
public interface IProductTransform extends IProductObject {

	String TARGET_ATT = "target";

	/**
	 * Returns types of transformer that are used to build given transform 
	 * @return types of transforms
	 */
	public String[] getTransformTypes();

	public Object getTransformedObject();

	/**
	 * Get path to which transformation will be used 
	 * @return
	 */
	public String getXPath();

	/**
	 * Write entry of given type into the writer
	 * @param indent
	 * @param writer
	 * @param type - type of entry that should be generated
	 */
	public void writeTransformEntry(String indent, PrintWriter writer, String type);
}
